package dubbo;

import hc.PerformanceAnalyze;

public class LatencyImpl implements Latency {

    PerformanceAnalyze performanceAnalyze = new PerformanceAnalyze();

    public void send(Long timestamp) {
        performanceAnalyze.timeDelay(System.currentTimeMillis() - timestamp);
        performanceAnalyze.cpCounter();
    }

}
